json_script: fix eval_string().
authorYousong Zhou <[email protected]>
Wed, 12 Nov 2014 13:59:22 +0000 (21:59 +0800)
committerFelix Fietkau <[email protected]>
Thu, 11 Dec 2014 16:59:02 +0000 (17:59 +0100)
commit30e6cca9396f770f3387fff8bef0a6645571c46c
treeaf97065871562a7504e08effe16f3975fab005de
parent8c6dadbe038509f8428966c03bcf6be83d832904
json_script: fix eval_string().

- Fix handling of "%%".
 - Fix length requirement when calling blobmsg_realloc_string_buffer().

Signed-off-by: Yousong Zhou <[email protected]>
json_script.c